#ifndef _DATA_PROCESS_H_
#define _DATA_PROCESS_H_
#include "stdint.h"
#include "stm32f1xx_hal.h"
struct s_filter
{
	char m_nCoefNumb;
	char m_chmove;
	int m_pa[2];
	int m_pb[2];
	int m_px[8][2];
	int m_py[8][2];
};
void EcgdataInFIFO(int32_t* data,char flag);
int LpFilter(int xt,int index);
void lpFilterInit(int channle);
int dataLpFilter(int xt,int index);
U8 CheckLeadStatus(I32 * pdatain);
#endif


